Programs compiled in "simple c++" mode in QtCreator don't work correctly when launching them from qtcreator, but work when launching out from this ide.
When launching from QtCreator, the terminal window opens, i can enter in it anything, but program instructions don't work. The behavior without QtCreator is normal. This problem is in both: Debug and Release - buildes. Moreover, when i'm trying to use debug, breakpoints don't work too (even breakpoint set to the first line of main() function in main.cpp).
What can I do to solve this problem? Is this a bug or I'm just clumsy? Thank you.
The simple code that reproduce this problem:
Qt Code:
#include using namespace std; int main() { int num; cin >> num; cout << num << "\nHello world!\n"; return 0; }To copy to clipboard, switch view to plain text mode
(Message to subscribe to thread)
Bookmarks